package com.ysd.twocrm.utils;

import java.util.List;

public class LayuiUtils<T> {
      private Integer code=0;
      private List<T> data;
      private Long count;
      private String msg="";

      public LayuiUtils(Integer code, List<T> data, Long count, String msg) {
            this.code = code;
            this.data = data;
            this.count = count;
            this.msg = msg;
      }

      public Integer getCode() {
            return code;
      }

      public void setCode(Integer code) {
            this.code = code;
      }

      public List<T> getData() {
            return data;
      }

      public void setData(List<T> data) {
            this.data = data;
      }

      public Long getCount() {
            return count;
      }

      public void setCount(Long count) {
            this.count = count;
      }

      public String getMsg() {
            return msg;
      }

      public void setMsg(String msg) {
            this.msg = msg;
      }

      public LayuiUtils() {
            super();
      }
}
